//
//  myQuestListModel.h
//  YuTang
//
//  Created by 葛悦彣 on 2024/8/6.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class myQuestTaskTimeListModel;
@interface myQuestListModel : NSObject
///任务指派人id;逗号分割
@property (nonatomic ,strong) NSString * appointorId;
///任务指派人;逗号分割
@property (nonatomic ,strong) NSString * appointorName;
///任务下发时间
@property (nonatomic ,strong) NSString * createTime;
///任务说明
@property (nonatomic ,strong) NSString * Description;
@property (nonatomic ,assign) CGFloat DescriptionStrH;

///任务执行时间
@property (nonatomic ,strong) NSString * executeTime;
///主键id
@property (nonatomic ,strong) NSString * ID;
///任务名称
@property (nonatomic ,strong) NSString * name;
///池塘id
@property (nonatomic ,strong) NSString * pondId;
///池塘名称
@property (nonatomic ,strong) NSString * pondName;
///编组id
@property (nonatomic ,strong) NSString * tissueId;
///编组名称
@property (nonatomic ,strong) NSString * tissueName;
///任务下发类型///integer
@property (nonatomic ,assign) NSInteger issueCode;
///完成状态 1:代办 2:已完成 3:已取消///integer
@property (nonatomic ,assign) NSInteger state;

@property (nonatomic ,assign) BOOL isMy;

@property (nonatomic ,assign) CGFloat cellH;

@end
@interface myQuestTimeListModel : NSObject
///当日待办数
@property (nonatomic ,assign) NSInteger number;

@property (nonatomic ,strong) NSArray<myQuestTaskTimeListModel *> * taskTimeList;
- (NSInteger)stateWithTime:(NSString *)time;
@end
@interface myQuestTaskTimeListModel : NSObject
///任务执行时间
@property (nonatomic ,strong) NSString * executeTime;
///颜色显示状态 1:红色 2:绿色
@property (nonatomic ,assign) NSInteger state;


@end
NS_ASSUME_NONNULL_END
